<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>流光卡片</title>
    <style>
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      body {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #0c1022;
      }
      .box {
        position: relative;
        width: 300px;
        height: 400px;
        background: rgba(0, 0, 0, 0.75);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
      }
      .box::before {
        content: '';
        position: absolute;
        width: 500px;
        height: 500px;
        background: conic-gradient(transparent, transparent, transparent, #00ccff);
        animation: animate 4s linear infinite;
      }
      .box::after {
        content: '';
        position: absolute;
        width: 500px;
        height: 500px;
        background: conic-gradient(transparent, transparent, transparent, #de44d4);
        animation: animate 4s linear infinite;
        animation-delay: -2s;
      }
      .box span {
        position: absolute;
        inset: 5px;
        border-radius: 16px;
        background: #0c1022;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 50px;
        writing-mode: vertical-rl;
        letter-spacing: 15px;
        text-indent: 15px;
      }


      @keyframes animate {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(360deg);
        }
      }
    </style>
  </head>

  <body>
    <div class="box">
      <span>月挽星河</span>
    </div>
  </body>
</html>